package reign.engine.structures.decks;

import reign.engine.structures.Card;
import reign.engine.structures.Deck;
import reign.engine.structures.Card.cardType;

public class SupplyDeck extends Deck {

	private cardType type;
	private Card displayed;
	
	public SupplyDeck(String Name,int ID,cardType Type)
	{
		super(Name,ID);
		type = Type;
	}
	
	public SupplyDeck(String Name,int ID,cardType Type,Card [] addMe)
	{
		super(Name,ID,addMe);
		type = Type;
	}
	
	public cardType getType()
	{
		return type;
	}
	
	public void resetDeck()
	{
		super.reset();
		displayed = super.draw();
	}
	
	public Card getDisplayed()
	{
		Card returnMe = displayed;
		displayed = super.draw();
		return returnMe;
	}
	
	public Card peekDisplayed()
	{
		return displayed;
	}
	
}
